Skip to content

Conversation

@jouir
Copy link
Contributor

@jouir jouir commented Dec 29, 2024

When parsing a URL, add a "skip_verify" query param to disable TLS certificate verification.

Inspired by various Go drivers:

Partially related to #2024.

@jouir
Copy link
Contributor Author

jouir commented Dec 31, 2024

The CI seems to be broken for recent pull requests, not because of this change.

@ndyakov
Copy link
Member

ndyakov commented Feb 3, 2025

@jouir Thank you for contributing. Would you mind adding more information in the godoc of ParseURL ?

@ndyakov ndyakov merged commit 3d4310a into redis:master Feb 4, 2025
15 checks passed
ofekshenawa pushed a commit that referenced this pull request Aug 10, 2025
* feat(options): Add skip_verify param

When parsing a URL, add a "skip_verify" query param to disable TLS certificate
verification.

Inspired by various Go drivers:

* ClickHouse: https://github.com/ClickHouse/clickhouse-go/blob/v2.30.0/clickhouse_options.go#L259
* MongoDB: https://github.com/mongodb/mongo-go-driver/blob/v2.0.0/x/mongo/driver/connstring/connstring.go#L609
* MySQL: https://github.com/go-sql-driver/mysql/blob/v1.8.1/dsn.go#L175

Signed-off-by: Julien Riou <[email protected]>

* docs(options): Add skip_verify to ParseURL

Signed-off-by: Julien Riou <[email protected]>

---------

Signed-off-by: Julien Riou <[email protected]>
Co-authored-by: Nedyalko Dyakov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants